import request from '@/utils/request'

export function getPatient(id) {
    return request({
        url: '/ds/patient/' + id,
        method: 'get',
    })
}

export function getlungDicom(patient_id, ds_id, order_type, order, lize) {
    return request({
        url: '/ds/analysis',
        method: 'get',
        params: {
            patient_id,
            ds_id,
            order_type,
            order,
            lize
        }
    })
}

// export function getDcmXulie(ds_id) {
//     return request({
//         url: '/ds/analysis/getcollapse',
//         method: 'get',
//         params: {
//             ds_id
//         }
//     })
// }

//⑮获取上传图片列表:ds.pushiyixue.com/ds/upload/upload_getimg?dsid='用户id'(图片路径:ds.pushiyixue.com/file/dsid/0.jpeg)
export function getDcmXulie(dsid, orderId) {
    return request({
        url: '/ds/upload/upload_getimg',
        method: 'get',
        params: {
            dsid,
            orderId
        }
    })
}